Undo Kim's recent changes and fix the same bug differently.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 29 May 2004 00:00:17 +0000 (00:00 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 29 May 2004 00:00:17 +0000 (00:00 +0000)
commit665463a8a5c39dfae96278dd886aa0cebb5acdd1
tree74bc6b5f30618ff866cd00c1bc3d4b5fbedbc8dd
parent491adbdb8202468d8ed9644d55ad3fceaa2bbf9c
Undo Kim's recent changes and fix the same bug differently.
(marker_blocks_pending_free): Remove.
(Fgarbage_collect): Sweep after cleaning up undo-lists.
Mark the undo lists after claning them up.
Don't free block in marker_blocks_pending_free.
(mark_buffer): Don't mark undo_list.
(gc_sweep): Sweep hash-tables and strings first.
Do free marker blocks that are empty.
src/alloc.c